package com.ljf.game.controller;

import com.ljf.game.schedule.HeartBeatSchedule;
import org.springframework.web.bind.annotation.*;

/**
 * 描述 :
 * <p>
 * 版本     作者     时间      内容
 * 1.0      lijinfeng       2025-05-11 00:03     create
 */
@RestController
public class RoomController {

    @GetMapping("/room/heartbeat")
    public String openHeartbeat() {
        boolean b = HeartBeatSchedule.changeStatus();
        return "心跳开启："+ b;
    }
}
